package com.blkj.common.exception.user;

import com.blkj.common.exception.base.BaseException;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author 北浪 2021/11/22
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class UserException extends BaseException {

    private String username;

    public UserException(String username,String code,String defaultMessage){
        super(username,code,defaultMessage);
    }

    public UserException(String code,String defaultMessage){
        super(code,defaultMessage);
    }
}
